aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.backends.wasm.structure.WasmBinaryFormatModuleTests]/[method:canSerializeModuleWithFunctions(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: b4fc2e46a122a221543a3725384c6ede5dee1dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module.wasm:	file format wasm 0x1

Section Details:

Type[2]:
 - type[0] () -> i32
 - type[1] () -> i64
Function[2]:
 - func[0] sig=0
 - func[1] sig=1
Code[2]:
 - func[0] size=8
 - func[1] size=4

Code Disassembly:

00002c func[0]:
 00002d: 01 7d                      | local[0] type=f32
 00002f: 01 7c                      | local[1] type=f64
 000031: 41 00                      | i32.const 0
 000033: 0b                         | end
000039 func[1]:
 00003a: 42 00                      | i64.const 0
 00003c: 0b                         | end